//
//  DiyDrawView.h
//  BlueToothProject
//
//  Created by foshou on 2017/2/27.
//  Copyright © 2017年 yxw. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DrawViewOptionDelegate <NSObject>

@required
-(void)selectLineColor;

@optional
-(void)clearView;
-(void)saveImageAfterDone:(UIImage *)image; //bytes:(unsigned char*)imageBytes;

@end

@interface DiyDrawView : UIView

@property (nonatomic,assign) BOOL cancleEraser;   //取消橡皮
@property (nonatomic,strong) UIColor *LineColor;  //线颜色

@property (nonatomic,assign) id<DrawViewOptionDelegate>delegate;

@end
